﻿namespace WH.Contracts.Systems.Organizations
{
    /// <summary>
    /// 
    /// </summary>
    public class OrganizationOutputDto
    {
        /// <summary>
        /// 主键fid
        /// </summary>
        public string? Id { get; set; }

        /// <summary>
        /// 父节点id 默认为0位顶节点
        /// </summary>
        public string? ParentId { get; set; }

        /// <summary>
        /// 机构编号
        /// </summary>
        public string? Code { get; set; }

        /// <summary>
        /// 机构名称
        /// </summary>
        public string? Name { get; set; }

        /// <summary>
        /// 状态（0停用 1正常）
        /// </summary>
        public bool IsEnable { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        public int Layer { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public string? LayerString { get; set; }

        /// <summary>
        /// 是否叶子节点
        /// </summary>
        public bool IsLeaf { get; set; }

        /// <summary>
        /// 描述/备注说明
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 负责人姓名
        /// </summary>
        public string? ManagerName { get; set; }

        /// <summary>
        /// 负责人手机号码
        /// </summary>
        public string? ManagerPhone { get; set; }

        /// <summary>
        /// 负责人微信
        /// </summary>
        public string? ManagerWeiXin { get; set; }

        /// <summary>
        /// 负责人固话
        /// </summary>
        public string? ManagerTel { get; set; }

        /// <summary>
        /// 负责人邮箱
        /// </summary>
        public string? ManagerEmail { get; set; }

        /// <summary>
        /// 负责人传真
        /// </summary>
        public string? ManagerFax { get; set; }

        /// <summary>
        /// 机构联系地址
        /// </summary>
        public string? ContactAddress { get; set; }

        /// <summary>
        /// 机构图片
        /// </summary>
        public string? ImageUrl { get; set; }

        /// <summary>
        /// 邮编
        /// </summary>
        public string? PostalCode { get; set; }

        /// <summary>
        /// 机构类型编号
        /// </summary>
        public string TypeCode { get; set; } = null!;


        /// <summary>
        /// 机构类型
        /// </summary>
        public string? TypeName { get; set; }
    }
}
